\documentclass{article}

\begin{document}
$$\ln\frac{1}{2}+\int^t p(s)\,ds=K,$$
$$\ln y+\int^t p(s)\,ds=K,$$

\end{document}